
import dark from './dark'
import light from './light'

export default {
    init(){
        window.them = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
        document.getElementById("rootstyle").textContent = window.them ? dark.css: light.css;
    }
}